	function bWidth() {
		var bodywidth = $(document).width()-100;
		$(".main-container").width(bodywidth);
		
		centerArea = $(".main-container").width()-485;
		$(".home-center").width(centerArea);
		
		itemWidth = ($(".home-center").width()-46)/3;
		$(".gray-box li").width(itemWidth);
		
		mainArea = $(".main-container").width()-240;
		$(".main-side").width(mainArea);
		listWidth = $('.profile-area li').width()-253;	
		$('.name').width(listWidth/4);
		$('.profile-area li select, input.textFiled, .upload').width(listWidth*0.6);
		uploadArea = $('.browse-wrap').width()-83;
		$('.upload-path').width(uploadArea);
	}	
	bWidth();
	$(window).resize(function() {
		bWidth();
	});
	$('.profile-area li').has('.image-box').addClass('uImage');
	
	
	$('input[type="file"]').change(function(){
		var val = this.value,
		filename = val.split('\\').pop();
		$(this).closest('.browse-wrap').children('.upload-path').text( filename ).addClass('selected');
	});
	
	header = $('.header').height();
	cBody = $('.content');
	footer = $('.footer').height();
	white = $('.white-area');
	doc = $(document).height();
	cBody.css('min-height', doc-(header+footer));
	white.css('min-height', doc-(header+footer)-15);